package com.cloud.pole.msg.model.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 * @author 
 */
@Table(name = "msg_sms_send_his")
public class SmsSendHis implements Serializable {

    /**
     * 消息ID
     */
	@Column(name="msg_id")
    private Integer msgId;
	
	/**
	 * msg_sms_template 参数id
	 */
	@Column(name="template_id")
    private Integer templateId;
	
    /**
     * 短信内容
     */
	@Column(name="msg_content")
    private String msgContent;

	@Column(name="send_time")
    private Date sendTime;

    /**
     * 发送状态(发送状态 -2:接收失败 -1:提交失败 0:审核中 1:开始发送 2:提交成功 3:接收成功)
     */
	@Column(name="send_status")
    private Short sendStatus;

    /**
     * 提交说明
     */
	@Column(name="send_result")
    private String sendResult;

    /**
     * 子号
     */
	@Column(name="sub_code")
    private String subCode;

    /**
     * 手机区域
     */
	@Column(name="mobile_area")
    private String mobileArea;
    /**
     * 手机号
     */
	@Column(name="mobile_no")
    private String mobileNo;

    /**
     * 状态报告
     */
	@Column(name="report_note")
    private String reportNote;

    /**
     * 状态说明 
     */
	@Column(name="busi_note")
    private String busiNote;
	
    private static final long serialVersionUID = 1L;

    public Integer getMsgId() {
        return msgId;
    }

    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Short getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Short sendStatus) {
        this.sendStatus = sendStatus;
    }

    public String getSendResult() {
        return sendResult;
    }

    public void setSendResult(String sendResult) {
        this.sendResult = sendResult;
    }

    public String getSubCode() {
        return subCode;
    }

    public void setSubCode(String subCode) {
        this.subCode = subCode;
    }

    public String getMobileNo() {
        return mobileNo;
    }

    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }

    public String getReportNote() {
        return reportNote;
    }

    public void setReportNote(String reportNote) {
        this.reportNote = reportNote;
    }

    public String getBusiNote() {
        return busiNote;
    }

    public void setBusiNote(String busiNote) {
        this.busiNote = busiNote;
    }

    public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public String getMobileArea() {
		return mobileArea;
	}

	public void setMobileArea(String mobileArea) {
		this.mobileArea = mobileArea;
	}
}